package hu.mapro.gwtui.client.model;

import com.google.gwt.cell.client.Cell;

public class DisplayableMetaBase<R, T, V> extends MetaBase<R, T, V, DisplayableProperty<T,V>> implements DisplayableValue<R, V> {

	public DisplayableMetaBase(AccessibleProperty<R, ?, T> route,
			DisplayableProperty<T, V> property) {
		super(route.getProperty()==null?null:route, property);
	}

	@Override
	public DisplaySize getDisplaySize() {
		return property.getDisplaySize();
	}

	@Override
	public Cell<? super V> getDisplayField() {
		return property.getDisplayField();
	}
	
}
